﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace StyleMVVM.Utilities
{
	public interface IGlobalCache
	{
		void AddWithAbsoluteExpireTime(string key, object value, DateTimeOffset absoluteExpire);

		void AddWithSlidingExpireTime(string key, object value, TimeSpan absoluteExpire);

		void RemoveFromCache(string key);

		object GetValue(string key);
	}
}